package com.li.mapper;

import com.github.pagehelper.Page;
import com.li.pojo.po.Clue;
import com.li.pojo.po.Opportunities;
import com.li.pojo.po.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TransferMapper {


    int CluesByUser(Integer userId);

    int BusinessByUser(Integer userId);

    Page<User> page(Integer pageNum, Integer pageSize, String userName, String phonenumber, String beginCreateTime, String endCreateTime);


    void ClueAssignment(Clue clue);


    List<Clue> ClueGetById(Integer userId);

    List<Opportunities> OppGetById(Integer userId);


    void TransferAssignment(Opportunities opportunities1);

}
